import React, {Component} from 'react'
import {Text, View, StyleSheet, Button, Image, FlatList, ScrollView, StyleProp, TextStyle} from 'react-native'
import {HUNDRED_PERCENT} from "../../style";

export default function Title(props: { title: string,titleStyle:StyleProp<TextStyle> }) {
    const {title,titleStyle} = props;
    return (<View style={NormalNavBarStyles.container}>
        <Text style={titleStyle}>{title}</Text>
    </View>)
}


const NormalNavBarStyles = StyleSheet.create({
    container: {
        width:HUNDRED_PERCENT,
    }
});
